package com.up.api.service;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

/**
 * @author: liuchengjun
 * @title: MyFactoryBean
 * @projectName: 海联技术中台V2.0
 * @depart 软件事业部
 * @description:
 * @date: 2023/12/29/029 15:43 (星期五)
 * @since V2.0
 */
@Component
public class MyFactoryBean implements FactoryBean<C> {

    @Override
    public C getObject() throws Exception {
        return new C();
    }

    @Override
    public Class<?> getObjectType() {
        return C.class;
    }
}
